progressbar: Enforce invariants
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2016 00:44:07 +0000 (20:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2016 00:44:07 +0000 (20:44 -0400)
commitdfdc7c3e0dce66d19d9b0df6dfeeb7505a3356da
treeb852e5ad1c3495d8373143f3038e80df6f31f85a
parentc27c4e2048acb630feb24c31288f802345e99f4c
progressbar: Enforce invariants

When measuring gadgets, minimum must come out <= natural.
Make sure we don't fail this when measuring progressbar text.

https://bugzilla.gnome.org/show_bug.cgi?id=765644
gtk/gtkprogressbar.c